package com.polaris.server.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.polaris.server.dto.StationQueryParam;
import com.polaris.server.pojo.TrafficStation;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author polaris
 * @since 2021-06-02
 */
public interface ITrafficStationService extends IService<TrafficStation> {
    /**
     * 获取station list
     * @param queryParam
     * @param page
     * @return
     */
    IPage<TrafficStation> list(StationQueryParam queryParam, Page<TrafficStation> page);

    /**
     * 根据索引查询单个station
     * @param queryParam
     * @return
     */
    TrafficStation get(StationQueryParam queryParam);
}
